<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <h1>所有的用户</h1>
    <table width="500" border="1"style="text-align: center; margin: 0 auto;" cellspacing='0';>
        <tr>
            <td>用户名</td>
            <td>密码</td>
            <td>注册时间</td>
            <td>头像</td>
        </tr>
        <% for( let i=0;i<result.length;i++ ){ %>
            <tr>
                <td><%=result[i].username%></td>       <!--用户名 -->                             
                <td><%=result[i].password%></td>     <!--密码 -->         
                <td><%=result[i].time%></td>        <!--注册时间 -->
                <!-- <td><%=result[i].avatar%></td>    头像 -->
                <td><img width="100" height="100" src=<%=result[i].newpath%> alt=""></td>
             
            </tr>
            <%}%>
    </table>
</body>

</html>